package com.jzy.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * @author jzy
 * @date 2020/9/14 12:57
 * 封装页面传入的检索条件
 */
@Data
public class SearchParam {

    private String keyword; //全文匹配

    private Long catalog3Id; //三级分类

    //saleCount_asc/desc    skuPrice_asc/desc
    private String sort;    //排序

    //筛选选条件
    //hasStock 是否有库存 0:无 1:有    skuPrice 价格区间  1_500/_500/500_
    private Integer hasStock;

    private String skuPrice;//价格区间

    private List<Long> brandId;//品牌筛选

    //attrs=1_安卓:其他&attrs=2_5G:6G
    private List<String> attrs;//属性筛选

    private Integer pageNum = 1;    //分页

    private String _queryString;    //查询条件
}
